<template>
	<el-container direction="vertical">
		<!-- <el-header>
			<el-radio-group v-model="curComponent">
				<el-radio-button
					v-for="item in tagList"
					:key="item.component"
					:label="item.component"
					>{{ item.label }}</el-radio-button
				>
			</el-radio-group>
		</el-header> -->
		<component :is="curComponent" />
	</el-container>
</template>

<script>
import Class from "./components/class/index.vue";
import Combo from "./components/combo/index.vue";

import { tagList } from "./data";

export default {
	components: {
		Class,
		Combo,
	},
	data() {
		return {
			curComponent: tagList[0].component,
			tagList: Object.freeze(tagList),
		};
	},
	methods: {},
};
</script>
